package com.woniu.service.impl;

import com.woniu.pojo.TeamPackage;
import com.woniu.mapper.TeamPackageMapper;
import com.woniu.service.ITeamPackageService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 团队-服务包表 服务实现类
 * </p>
 *
 * @author rsw
 * @since 2022-10-12
 */
@Service
public class TeamPackageServiceImpl extends ServiceImpl<TeamPackageMapper, TeamPackage> implements ITeamPackageService {

    @Resource
    private TeamPackageMapper teamPackageMapper;

    @Override
    public boolean removeByteamId(int teamId) {
        Boolean flag = teamPackageMapper.deleteByTeamId(teamId);
        return flag;
    }
}
